<?php

class Henry_Controller_Action extends Zend_Controller_Action 
{
	public function init() 
	{
		parent::init();
		$this->initmainMenu();
		$this->initLayout();
	}

	private function initmainMenu()
	{
		$mainMenu = array(
			'Booking' 		=> array('title'=>'Booking Appointments Forms','link' => array('module' => 'default',
 																	  'controller' => 'index',
																	  'action' => 'index'
																	  )
						        ),
//			'BookingList' 	=> array('title'=>'Booking List','link' => array('module' => 'default',
// 																	  'controller' => 'index',
//																	  'action' => 'list'
//																	  )
//				                ),
			'Customer' 	=> array('title'=>'Customer List','link' => array('module' => 'default',
 																	  'controller' => 'customer',
																	  'action' => 'index'
																	  )),
			'Employee' 	=> array('title'=>'Employee List','link' => array('module' => 'default',
 																	  'controller' => 'employee',
																	  'action' => 'index'
																	  )),
			'Services' 	=> array('title'=>'Spa Services','link' => array('module' => 'default',
 																	  'controller' => 'services',
																	  'action' => 'index'
																	  ))						
		);
		
		$this->view->placeholder('mainMenu')->top = $mainMenu;
	} 
		
	//-------------------------------
	public function initLayout() 
	{
		Henry_CreateThemes::create($this->view,$this->_request->getModuleName());
	}
	
	
}

?>